home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_cyn_sectorsound.cog < prev    next >
Text File  |  1999-11-15  |  986b  |  52 lines

  1. # Jones 3D Cog Script
  2. #
  3. # vol_Light-All_sound.cog
  4. #
  5. # This runs the generator sound for the light-alls.
  6. #
  7. # [CM]
  8. #
  9. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13.     
  14. #...................MESSAGES...................
  15.     message      user3
  16.  
  17. #...................COGS...................
  18.     cog            finalcog
  19.  
  20. #...................SECTOR...................
  21.     sector        sndSECT0                                
  22.                                 
  23.     
  24. #...................SOUNDS...................
  25.     sound        thesound            
  26.  
  27. #...................VARIABLES...................
  28.     int            faderun                            local
  29.  
  30.  
  31. end
  32.  
  33. # ========================================================================================
  34. code
  35.  
  36.  
  37. user3:
  38.  
  39.     If (GetSenderRef() != finalcog) return;
  40.  
  41.         SectorSound(sndSECT0, thesound, 0.0);
  42.  
  43.  
  44. return;
  45.     
  46. # ========================================================================================
  47.  
  48.  
  49. end
  50.  
  51.  
  52.